Search is based on keyword.
Ex: "Procedures"
Do not search with natural language
Ex: "How do I write a new procedure?"
Scripting with Python
Katana utilizes three languages for scripting within the application: Python, Lua, and C++. Each serves a distinct purpose but the language most appropriate for you may vary, depending on what you want to achieve and whether you need to edit the scenegraph or scenegraph locations. Between the three, how do you know which language suits your needs?
Here's a quick overview of the Python workflow:
1. Enter Python statements in Katana’s Python tab to perform the required actions.
2. Save your script with the extension .py in a directory that is contained in the sys.path variable.
3. Later, when you want to execute the same statement sequence, import the .py file into Katana’s Python tab again. Katana executes the statements in the specified order.
For more information on the Python tab, see Using the Python Tab, or for detailed information on the Python API click Help > API Reference > Python APIs within the application.
Python on the Web
To read more about Python, check out its documentation, or interact with other Python users. Visit the Python programming language official website at http://www.python.org/.
Sorry you didn't find this helpful
Why wasn't this helpful? (check all that apply)
Thanks for your feedback.
If you can't find what you're looking for or you have a workflow question, please try Foundry Support.
If you have any thoughts on how we can improve our learning content, please email the Documentation team using the button below.
Thanks for taking time to give us feedback.